package edu.sctu.practice.class02.yangshengyu.assign03.teat02;

/**
 * Created by Cullen on 2015/10/24.
 */
public class RunObj {
    public static void main(String[] args) {
        ComparableCircle comparableCircle = new ComparableCircle(3.3);
        ComparableCircle nextComparableCircle = new ComparableCircle(1.2);

        ComparableCylinder comparableCylinder = new ComparableCylinder(2.2, 2.5);
        ComparableCylinder nextComparableCylinder = new ComparableCylinder(3.8, 3.9);

        Max.max(comparableCircle, nextComparableCircle);
        Max.max(comparableCylinder, nextComparableCylinder);
    }
}
